package cn.tworice.system.service.department;

import cn.tworice.system.dao.user.po.UserDO;
import cn.tworice.system.dao.department.po.DepartmentDO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface DepartmentService extends IService<DepartmentDO>{

    boolean addAdminToDepartment(String[] userId, Integer departmentId);

    void delAdminToDepartment(String[] adminIds, Integer departmentId);

    boolean delDepartment(List<Integer> departmentId);
}
